package priv.dajie.tzzq.bot.model;

import java.math.BigDecimal;
import java.util.Date;

public class HistoryPrice {
    private Date date;
    private BigDecimal price;
    private int num;

    public HistoryPrice(Date date, BigDecimal price) {
        this.date = date;
        this.price = price;
        this.num = 1;
    }

    public HistoryPrice(Date date, BigDecimal price, int num) {
        this.date = date;
        this.price = price;
        this.num = num;
    }
    public Date getDate() {
        return date;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public int getNum() {
        return num;
    }

    @Override
    public String toString() {
        return "HistoryPrice{" +
                "date=" + date +
                ", price=" + price +
                ", num=" + num +
                '}';
    }
}
